<?php

namespace App\ModelFilters;


class SysConfigFilter extends BaseFilter
{
    /**
    * Related Models that have ModelFilters as well as the method on the ModelFilter
    * As [relationMethod => [input_key1, input_key2]].
    *
    * @var array
    */
    public $relations = [
    ];

    public function config_name($value){
        return $this->where('config_name', 'LIKE', "%$value%");
    }
    public function config_type($value){
        return $this->where('config_type', $value);
    }
    public function config_key($value){
        return $this->where('config_key', 'LIKE', "%$value%");
    }

}
